package com.yunhuakeji.wddx.utils;

public class StringUtils
{
	public String getDataBaseSelectString(String str)
	{
		if (str == null)
			return str;
		StringBuffer sb = new StringBuffer("%");
		char[] chars = str.toCharArray();
		for (int i = 0; i < chars.length; i++)
		{
			sb.append(chars[i] + "%");
		}
		return sb.toString();
	}
	
}